package site.isscloud.project.mqtt.dto;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * 温度数据MQTT传输DTO
 */
public class TemperatureMqttDto {
    private String deviceNo;
    private Integer channelNo;
    private List<BigDecimal> maxTemperatures;
    private List<BigDecimal> minTemperatures;
    private Date createTime;  // 改为 Date 类型

    // getter and setter
    public String getDeviceNo() { return deviceNo; }
    public void setDeviceNo(String deviceNo) { this.deviceNo = deviceNo; }

    public Integer getChannelNo() { return channelNo; }
    public void setChannelNo(Integer channelNo) { this.channelNo = channelNo; }

    public List<BigDecimal> getMaxTemperatures() { return maxTemperatures; }
    public void setMaxTemperatures(List<BigDecimal> maxTemperatures) { this.maxTemperatures = maxTemperatures; }

    public List<BigDecimal> getMinTemperatures() { return minTemperatures; }
    public void setMinTemperatures(List<BigDecimal> minTemperatures) { this.minTemperatures = minTemperatures; }

    public Date getCreateTime() { return createTime; }
    public void setCreateTime(Date createTime) { this.createTime = createTime; }
}